<%--
  Created by IntelliJ IDEA.
  User: Yang
  Date: 2020/2/27
  Time: 0:52
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java"  isELIgnored="false"  pageEncoding="UTF-8" %>
<html>
<head>
    <title>Title</title>
    <script src="/js/jquery.min.js"></script>
    <script>
        $(function () {
            $("#aa").on("click", function () {
                $.ajax({
                    url: "/demo/handle07?name=张三",
                    type: "POST",
                    data: '{"name":"李四","id":"1"}',
                    contentType: "application/json;charset=utf-8",
                    dataType: "json",
                    success: function (data) {
                        alert(data.name)
                    }
                })

            })

        })
    </script>
</head>
<body>
    跳转成功!系统时间为:${date}<br>
    <input type="button" value="按钮" id="aa">
</body>
</html>
